package com.eds.mall.product.feign;

import com.eds.common.dto.es.SkuESModel;
import com.eds.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author zz_code
 * @data 2024/5/9 21:13
 */
@FeignClient(name = "mall-search")
public interface SearchFeignService {

    @PostMapping("/search/save/product")
    public R productStatusUp(@RequestBody List<SkuESModel> skuESModels);
}
